﻿function ajaxFormSuccess(context) {
    console.log(context.status);
    switch (context.status) {
        case "reload":
            window.location.reload();
            break;
        case "redirect":
            window.location.href = context.location;
            break;
    default:
    }
}